/**
 * Created on 17/7/30.
 */

'use strict';

import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);

const store = new Vuex.Store({
	state: {
		activeTab: null
	},
	mutations: {
		setActiveTab(state, data){
			state.activeTab = data;
		}
	},
	getters: {
		getActiveTab(state){
			return state.activeTab;
		}
	},
	actions: {

	}
});

export default store;

